﻿using Abp.Application.Services.Dto;
using AppFramework.ApiClient;
using AppFramework.DinosaursParkMes.DataBoard.Dto;
using AppFramework.DinosaursParkMes.UniqueIdCode.Dto;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.DinosaursParkMes.DataBoard
{
    public class DataBoardService : ProxyAppServiceBase, IDataBoardService
    {
        public DataBoardService(AbpApiClient apiClient) : base(apiClient)
        {
            this.ApiClient = apiClient;
        }

        public async Task<List<ReportOfWorkerOutputDTO>> GetProductList()
        {
            return await ApiClient.GetAsync<List<ReportOfWorkerOutputDTO>>(GetEndpoint(nameof(GetProductList)));
           
        }
  

    }
}
